package com.dylon.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
public class SysDictData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long    dictId;   //'字典编码',
    private Integer dictSort; //'字典排序',
    private String  dictLabel;//'字典标签',
    private String  dictValue;//'字典键值',
    private String  dictType; //'字典类型',
    private String  cssClass; //'样式属性（其他样式扩展）',
    private String  listClass;//'表格回显样式',
    private String  isDefault;//'是否默认（Y是 N否）',
    private String  status;   //'状态（0正常 1停用）',

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dictId", getDictId())
                .append("dictSort", getDictSort())
                .append("dictLabel", getDictLabel())
                .append("dictValue", getDictValue())
                .append("dictType", getDictType())
                .append("cssClass", getCssClass())
                .append("listClass", getListClass())
                .append("isDefault", getIsDefault())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
